package wh.GameObject;

import java.util.List;

import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.PointF;
import wh.FishingPhilosopher.Components.ComponentList;
import wh.GameEngine.GameObject;

public class FishingPhilosopherGameObject extends GameObject {
	private ComponentList componentList=null;

	public FishingPhilosopherGameObject(Context g, PointF a, int b, float c,
			boolean f, int h, int i) {
		super(g, a, b, c, f, h, i);
		// TODO Auto-generated constructor stub
	}

	public FishingPhilosopherGameObject(Context a, PointF b, List<Object> k,
			float i, boolean o, int j, int t, int n) {
		super(a, b, k, i, o, j, t, n);
		// TODO Auto-generated constructor stub
	}

	public FishingPhilosopherGameObject(Context a, PointF b, Bitmap c, float d,
			boolean e, int f, int h) {
		super(a, b, c, d, e, f, h);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void setComponentList(ComponentList componentList) {
		// TODO Auto-generated method stub
		super.setComponentList(componentList);
		this.componentList=componentList;
	}
	
	
	public int getType() {
		// TODO Auto-generated method stub
		if (componentList.getTypeComponent==null)
			return 0;
		
		return componentList.getTypeComponent.getType();
	}
}
